package com.nfit.shopmodel.vo.category;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * ClassName:SubCategory
 * Package:com.nfit.shopmodel.vo.category
 * Description
 *
 * @Author L
 * @Create 2024/12/24 19:23
 */
@Schema(description = "三级分类")
@Data
public class SubCategoryDTO  {
    @Schema(description = "二级分类id")
    private String id;
    @Schema(description = "二级分类名称")
    private String name;
    @Schema(description = "二级图片")
    private String picture;
//    @Schema(description = "二级分类父id")
//    private String parentId;
//    @Schema(description = "二级分类父名称")
//    private String parentName;
    @Schema(description = "二级分类下的商品")
    private List<ProductDTO> goods;
}
